import React,{ Component } from 'react'
import { Row,Col,Icon,Tooltip } from 'antd'
import { Link } from 'react-router-dom'

class Desktop extends Component {

  defaultDivStyle = {
    width : '65px',
    height : '65px',
    margin : '5px 5px 0px 5px',
    padding : '0px'
  }

  defaultIconStyle = {
    fontSize : 48,
    color : 'white'
  }

  render(){
    return (
      <Row><Col span={4}>
      <div style={this.defaultDivStyle}><Tooltip placement="topLeft" title='网盘'>
      <Link to='/disk'><Icon type="hdd" style={this.defaultIconStyle} /></Link>
      </Tooltip></div>
      </Col></Row>
    )
  }
}

export default Desktop
